change of order of double integration